package org.ww.seckill.service;

import org.ww.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @program: gmall
 * @description:
 * @author: ww
 * @create: 2024-11-05 14:33
 **/

public interface SeckillService {

    void uploadSeckillLatested3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
